﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace JQuery.MVC
{
    public class QueryView
        : RazorView
    {
        /// <summary>
        /// Initializes a new instance of the System.Web.Mvc.RazorView class.
        /// </summary>
        /// <param name="context">The controller context.</param>
        /// <param name="path">The view path.</param>
        /// <param name="layout">The layout or master page.</param>
        /// <param name="start_pages">A value that indicates whether view start files should be executed before the view.</param>
        /// <param name="file_extensions">The set of extensions that will be used when looking up view start files.</param>
        public QueryView(ControllerContext context, string path, string layout, bool start_pages, IEnumerable<string> file_extensions)
            : base(context, path, layout, start_pages, file_extensions)
        {

        }
        /// <summary>
        /// Initializes a new instance of the JQuery.MVC.QueryView class using the
        /// view page activator.
        /// </summary>
        /// <param name="context">The controller context.</param>
        /// <param name="path">The view path.</param>
        /// <param name="layout">The layout or master page.</param>
        /// <param name="start_pages">A value that indicates whether view start files should be executed before the view.</param>
        /// <param name="file_extensions">The set of extensions that will be used when looking up view start files.</param>
        /// <param name="activator">The view page activator.</param>
        public QueryView(ControllerContext context, string path, string layout, bool start_pages, IEnumerable<string> file_extensions, IViewPageActivator activator)
            : base(context, path, layout, start_pages, file_extensions, activator)
        {

        }

        protected override void RenderView(ViewContext viewContext, System.IO.TextWriter writer, object instance)
        {
            base.RenderView(viewContext, writer, instance);
        }
    }
}
